interface BaseCart {
    user_id?: number;  //用户ID’,
    cart_items?: Map<number, string>
    amount?: number;  //‘加入购物车商品数量’,
    modified_time?: string;
    order_state?: OrderCartState;//订单状态,

}

export interface OrderCart extends BaseCart {
    order_id: string; //订单号 ID’,
    pay_type: string;
    total_price: number;//商品价格’,

}


enum OrderCartState {
    OrderCart_WAIT = 0,
    OrderCart_CANCEL = 1,
    OrderCart_FINISH = 2,
}


export interface CartReq extends BaseCart {
    order_id?: string;
    app_ids?: number[];
    wishList_ids?: Map<number, string>;
    pay_type?: string;
    state?: boolean;
}
